package com.atjava.webspider.model;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;
import com.atjava.webspider.logic.Named;

@ClassProps(alias="default-resource")
public class DefaultResource implements Named{

	@FieldProps
	private String name;
	
	@FieldProps
	private int groupNum;
	
	@FieldProps(type=ElementType.ELEMENT)
	private String regexp;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}

	public String getRegexp() {
		return regexp;
	}

	public void setRegexp(String regexp) {
		this.regexp = regexp;
	}
	
}
